package financial.sharing.center.contract.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.contract.model.entity.ContractClause;

/**
 * @ClassName ContractClauseService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/11
 * @Version 1.0
 */
public interface ContractClauseService {
    PageInfo<ContractClause> getAllContractClause(Integer contractId, Integer contractDetailId);

    Integer compileOneContractClause(ContractClause contractClause);

    Integer createOneContractClause(ContractClause context);

    String createOneContractClause(Integer contractId, Integer contractDetailId, String context);

    Integer deleteOneContractClause(Integer id);
}
